<script setup lang="ts">
import TabView from "./components/TabView.vue";
import { ref } from "vue";
import { routes } from "./router";

const tab = ref("home");
</script>

<template>
  <TabView v-model="tab" :list="routes" />
  <div class="box">
    <router-view></router-view>
  </div>
</template>

<style lang="scss" scoped>
.box {
  padding: 24px;
}
</style>
